Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Set(DicomDataSet,Object[]) Method
See Also 
Leadtools.Dicom.Common.Extensions Namespace > DicomExtensions Class > Set Method : Set(DicomDataSet,Object[]) Method



ds
The dataset to set information into.
instances
The instances that have the correct attributes.
ds
The dataset to set information into.
instances
The instances that have the correct attributes.
Sets the information in the dataset from the specified class instances.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Overloads Public Shared Sub Set( _
   ByVal ds As DicomDataSet, _
   ByVal ParamArray instances() As Object _
) 
Visual Basic (Usage)Copy Code
Dim ds As DicomDataSet
Dim instances() As Object
 
DicomExtensions.Set(ds, instances)
C# 
[ExtensionAttribute()]
public static void Set( 
   DicomDataSet ds,
   params object[] instances
)
C++/CLI 
[ExtensionAttribute()]
public:
static void Set( 
   DicomDataSet^ ds,
   ... array<Object^>^ instances
) 

Parameters

ds
The dataset to set information into.
instances
The instances that have the correct attributes.

Example

For an example refer to ElementAttribute

Remarks

Instances have to be defined with the correct ElementAttribute. Any properties not defined with this attribute will be ignored.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features